﻿using CNKI.TPI.Web.Search.Model;
using KNet.Data.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CNKI.TPI.Web.Admin.Model
{
    public class SYS_CMS_USER_UNIT : BaseModel, IView
    {
        public int SYSID { set; get; }

        public string unitname;
        public string UNITNAME
        {
            get { return unitname; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { unitname = ""; }
                else
                { unitname = value; }

            }
        }

        private string unitcode;
        public string UNITCODE
        {
            get { return unitcode; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { unitcode = ""; }
                else
                { unitcode = value; }

            }
        }


        private string contract;
        public string CONTRACT
        {
            get { return contract; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { contract = ""; }
                else
                { contract = value; }

            }
        }

        private string telephone;
        public string TELEPHONE
        {
            get { return telephone; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { telephone = ""; }
                else
                { telephone = value; }

            }
        }

        private string fax;
        public string FAX
        {
            get { return fax; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { fax = ""; }
                else
                { fax = value; }

            }
        }


        private string email;
        public string EMAIL
        {
            get { return email; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { email = ""; }
                else
                { email = value; }

            }
        }

        private string postcode;
        public string POSTCODE
        {
            get { return postcode; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { postcode = ""; }
                else
                { postcode = value; }

            }
        }
        private string address;
        public string ADDRESS
        {
            get { return address; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { address = ""; }
                else
                { address = value; }

            }
        }

        private string uniturl;
        public string UNITURL
        {
            get { return uniturl; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { uniturl = ""; }
                else
                { uniturl = value; }

            }
        }

        private string unitType;
        public string UNITTYPE
        {
            get { return unitType; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { unitType = ""; }
                else
                { unitType = value; }

            }
        }
        private string notes;
        public string NOTES
        {
            get { return notes; }
            set
            {
                if (string.IsNullOrEmpty(value))
                { notes = ""; }
                else
                { notes = value; }

            }
        }

    }
}
